package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * ClassName: DishService
 * Package: com.sky.service
 * Description:
 *
 * @Author: Zhang Peiyuan
 * @Create: 2024-12-18-17:37
 * @Version: v1.0
 */
public interface DishService {
    void saveDish(DishDTO dishDTO);

    PageResult queryDishPage(DishPageQueryDTO dishPageQueryDTO);

    void deleteDishBatch(List<Long> ids);

    DishVO getDishById(Long id);

    void updateDishWithFalvor(DishDTO dishDTO);

    List<Dish> queryDishList(Long categoryId);

    void updateStatus(Integer status, Long id);
}
